<?php /* Smarty version 2.6.16, created on 2009-04-15 06:00:24
         compiled from UploadImageForm.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'UploadImageForm.html', 3, false),array('function', 'img', 'UploadImageForm.html', 5, false),array('function', 'messages', 'UploadImageForm.html', 8, false),array('function', 'url', 'UploadImageForm.html', 11, false),array('function', 'html_options', 'UploadImageForm.html', 24, false),array('function', 'i18n', 'UploadImageForm.html', 47, false),array('modifier', 'escape', 'UploadImageForm.html', 39, false),array('modifier', 'filesize', 'UploadImageForm.html', 65, false),)), $this); ?>
<?php if ($this->_tpl_vars['bUploaded']): ?>
<div style="padding:30px;font-size:10pt;" class="color">
    <?php echo smarty_function_language(array('text' => 'your_image_has_been_uploaded'), $this); if ($this->_tpl_vars['bApprove']): ?> <?php echo smarty_function_language(array('text' => 'once_you_have_successfully_submitte'), $this); endif; ?>
    <br /><br />
    <div style="padding:5px;text-align:center;"><?php echo smarty_function_img(array('max_width' => '350','alt' => "",'src_def' => "design/pic/noimage_120.jpg",'src' => $this->_tpl_vars['sImageUrl']), $this);?>
</div>
</div>
<?php else:  echo smarty_function_messages(array(), $this);?>

<div id="formhide1">
<br />
<form enctype="multipart/form-data" method="post" action="<?php echo smarty_function_url(array('link' => 'public.account.submit.upload-pic'), $this);?>
" style="margin:0px;" onsubmit="document.getElementById('formhide1').style.display='none'; document.getElementById('formhide2').style.display='';">
<table style="width:100%; font-size:9pt;" cellspacing="2" cellpadding="4">
<tr>
    <td style="text-align:right;" class="color"><?php echo smarty_function_language(array('text' => 'image_title'), $this);?>
:</td>
    <td class="border13">
        <input type="text" name="title" maxlength="200" size="30" onfocus="this.className='inputmain';" onblur="this.className='';" value="<?php echo $this->_tpl_vars['aData']['title']; ?>
" />
    </td>
</tr>
<tr>
    <td style="text-align:right;" class="color"><?php echo smarty_function_language(array('text' => 'image_category'), $this);?>
:</td>
    <td class="border13">
        <select name="category" style="width:150px;">
        <option value=""><?php echo smarty_function_language(array('text' => 'core.any'), $this);?>
</option>
        <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aCategories'],'selected' => $this->_tpl_vars['aData']['category']), $this);?>

    	</select>
    </td>
</tr>
<tr>
    <td style="text-align:right;" class="color"><?php echo smarty_function_language(array('text' => 'who_can_view_this_image_785'), $this);?>
</td>
    <td class="border13">
    	<select name="whoview">
    	<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aPrivacySettings'],'selected' => $this->_tpl_vars['aData']['whoview']), $this);?>

    	</select>
    </td>
</tr>
<tr>
    <td style="text-align:right;vertical-align:top;" class="color"><?php echo smarty_function_language(array('text' => "Mod_Tag.tags"), $this);?>
:</td>
    <td class="border13">
        <input type="text" name="tags" maxlength="80" size="30" onfocus="this.className='inputmain';" onblur="this.className='';" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['aData']['tags'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" maxlength="75" />
        <br /><?php echo smarty_function_language(array('text' => "Mod_Tag.tags_details"), $this);?>

    </td>
</tr>
<tr>
    <td style="text-align:right;" class="color">
    <?php echo smarty_function_language(array('text' => 'image'), $this);?>

    <br/>
    <span style="font-size:7pt;"><?php if ($this->_tpl_vars['iMaxUploadSize'] >= 0):  echo smarty_function_i18n(array('key' => 'Mod_Gallery.upload_form.max_size','1' => $this->_tpl_vars['sMaxFileSize']), $this); else: ?>(<?php echo smarty_function_language(array('text' => 'your_space_is_exceeded_maximum_allo'), $this);?>
)<?php endif; ?></span>
    </td>
    <td class="border13">
        <input type="file" name="image" size="30" />
    </td>
</tr>
<tr>
    <td></td>
    <td><br/><input type="submit" name="act[upload]" value=" <?php echo smarty_function_language(array('text' => 'upload_image'), $this);?>
 " style="cursor:pointer;" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';"/></td>
</tr>
</table>
</form>
<br/>
<?php endif; ?>
<div class="border13">
    <div style="padding:10px;font-size:8pt;" class="color">
    <b><?php echo smarty_function_language(array('text' => 'space_usage_info'), $this);?>
:</b>
    <br /><br />
        <?php echo smarty_function_language(array('text' => 'space_used_650'), $this);?>
: <?php echo ((is_array($_tmp=$this->_tpl_vars['iUsedSpace'])) ? $this->_run_mod_handler('filesize', true, $_tmp) : smarty_modifier_filesize($_tmp)); ?>
 <br />
        <?php echo smarty_function_language(array('text' => 'space_allowed'), $this);?>
: <?php if ($this->_tpl_vars['iAllowedSpace'] == 0):  echo smarty_function_language(array('text' => 'unlimited'), $this); else:  echo ((is_array($_tmp=$this->_tpl_vars['iAllowedSpace'])) ? $this->_run_mod_handler('filesize', true, $_tmp) : smarty_modifier_filesize($_tmp));  endif; ?> <br />
    </div>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/bar.html", 'smarty_include_vars' => array('sMessage' => 'Mod_Language.upload_item')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>